package com.bilibili.xzz.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Video implements Serializable {
    @JsonSerialize(using = ToStringSerializer.class)
    private  Long id;
    private  String title;
    private  String  pic;
    private  Long  pubdate;
    private  Long ctime;
    private  String description;
    private String url;
    @TableLogic
    @TableField("is_del")
    private  Integer isDel;
}
